/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jigdo.downloader;

/**
 * Enumeration indicating the status of a file download
 * @author John R Sohn
 * @see DownloadEntry
 */
 public enum DownloadStatus {

     /**
      * The download has not yet started.
      */
        NotStarted,
     /**
      * The download is waiting in the queue
      */
        Waiting,
     /**
      * The download is starting.
      */
        StartingDownload,
      /**
       * The download is currently running.
       */
        Downloading,
        /**
         * The download has completed and is closing connections.
         */
        Stopping,
        /**
         * The download was successful.
         */
        Downloaded,
        /**
         * The download thread is currently calculating checksums for verification
         */
        Verifying,
        /**
         * An exception has been encountered
         * @see DownloadEntry.LastError
         */
        Error,
        /**
         * Parent thread has forceably aborted the download job.
         */
        Aborted,
        /**
         * The verification process failed.
         */
        FailedMD5,
        /**
         * Download has been paused.
         */
        Paused,
        /**
         * Writing the download to the ISO
         */
        WritingISO,
        
        /**
         * File has been downloaded, and written to the iso.
         */
        Finished
    };
